package com.everyline.lib_common.service

import android.content.Context
import androidx.lifecycle.LiveData
import com.alibaba.android.arouter.facade.template.IProvider
import com.everyline.lib_common.bean.UserInfoBean

/**
 * Created by on 2021/2/27.
 * 天天挂线
 *  746608431@qq.com
 *  描述:TODO
 */

interface LoginService : IProvider {

    fun isLogin(): Boolean

    fun getUserInfo(): UserInfoBean?

    fun removeUserInfo()

    fun start(context: Context): LiveData<UserInfoBean>

    fun getLiveData(): LiveData<UserInfoBean>

    override fun init(context: Context?) {

    }
}